package com.meihuayishu.backend.dto;

import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "刷新令牌响应")
public class RefreshTokenResponse {
    
    @Schema(description = "新的访问令牌")
    private String accessToken;
    
    @Schema(description = "令牌有效期(秒)", example = "7200")
    private Integer expiresIn;
}